package com.example.echoewish.repository.network.service;

import com.example.echoewish.pojo.MyPreConcernRequest;

import java.util.List;

import okhttp3.ResponseBody;
import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Query;

public interface PreConcernService {
    @GET("/preconcern/sendConcernRequest")
    Call<ResponseBody> sendConcernRequest(@Query("hostId")int hostId, @Query("friId") int friId);

    @GET("/preconcern/acceptConcernRequest")
    Call<ResponseBody> acceptConcernRequest(@Query("hostId")int hostId, @Query("friId") int friId);

    @GET("/preconcern/refuseConcernRequest")
    Call<ResponseBody> refuseConcernRequest(@Query("hostId")int hostId, @Query("friId") int friId);

    @GET("/preconcern/getMyPreConcernRequests")
    Call<List<MyPreConcernRequest>>getMyPreConcernRequests(@Query("hostId")int hostId);
}
